const http = require('http')
const app = http.createServer((req, res) => {
    if (req.url === '/api/hello') {
        res.end('hello node')
    }
})

app.listen(9000,'localhost',()=>{
    console.log('http://localhost:9000')
})
